]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: Don't jump the today button on hover/focus
authornana-4 <hnmaigo@gmail.com>
Sun, 12 Jan 2020 14:31:36 +0000 (23:31 +0900)
committernana-4 <hnmaigo@gmail.com>
Fri, 17 Jan 2020 12:21:44 +0000 (12:21 +0000)
This seemed quite buggy as no other button jumps on hover/focus in the
theme.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2088

data/theme/gnome-shell-sass/widgets/_calendar.scss

index ed2fa5f3941e1a857ed31b68b75db4a255e6e410..2e2495c5fb9d70802726ca8e601f33a5852cd668 100644 (file)
     padding: $base_padding * 1.5;
     margin: $base_margin;
     border: 1px solid transparent;
-
-    &:focus,
-    &:hover {
-      border-radius:$base_border_radius + 2px;
-      margin-top: $base_margin - 1px;
-      margin-bottom: $base_margin + 1px;
-    }
+    border-radius: $base_border_radius + 2px;
 
     &:hover { @include button(hover);}
     &:focus { @include button(focus);}
 
-    &:active { 
+    &:active {
       @include button(active);
-      margin: $base_margin;
     }
 
     // weekday label